package be.sc.classicnetwork.dao;

import java.util.Collection;

import be.sc.classicnetwork.model.AbstractEntity;

/**
 * Java Bean holding the result list and total count of a paginated query.
 */
public class PaginationSearchResult {

	private Collection<? extends AbstractEntity> list;

	private Integer count;

	public Collection<? extends AbstractEntity> getList() {
		return list;
	}

	public void setList(Collection<? extends AbstractEntity> list) {
		this.list = list;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}
}
